package com.liuzu.esys.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderManageBo {
    @ExcelProperty(value = "订单号")
    private Integer order_number;

    @ExcelProperty(value = "电话")
    private Integer phone;

    @ExcelProperty(value = "订单状态")
    private Boolean order_status;

    @ExcelProperty(value = "支付状态")
    private Boolean pay_status;

    @ExcelProperty(value = "订单金额")
    private Double order_amount;

    @JsonFormat(pattern = "yyyy-MM-dd ")
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    @ExcelProperty(value = "创建时间")
    private Date create_time;

    @JsonFormat(pattern = "yyyy-MM-dd ")
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    @ExcelProperty(value = "支付时间")
    private Date pay_time;


}
